home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / pcw.zip / WBLKDEMO.C < prev    next >
Text File  |  1990-01-30  |  714b  |  21 lines

  1.     #include <stdio.h>
  2.     #include "pcwproto.h"
  3.  
  4.     void main(void) {
  5.  
  6.        static char *msgs[] = {
  7.           "Description:  w_block_write will write an  array  of  strings",
  8.           "into your window in one fell swoop.  This is  very convenient",
  9.           "and keeps you from having to set up loops to do this function",
  10.           NULL
  11.        };
  12.        WNDPTR *wnd;
  13.        bordercolor(BLUE,LIGHTGRAY);
  14.        titlecolor(BLACK,LIGHTGRAY);
  15.        wnd = wframe(6,5,12,75,RED,LIGHTGRAY);
  16.        wtitle(wnd, TOP,MIDDLE," w_block_write ");
  17.        w_block_write(wnd,2,CENTER,msgs);
  18.        keywait(10); wnd = wpop(wnd);
  19.     } 
  20.                                                                  
  21.